﻿
Partial Class WebForm_ManageEmployee
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
        End If
    End Sub

    Protected Sub AddEmployee1_Canceled(ByVal sender As Object, ByVal e As System.EventArgs) Handles AddEmployee1.Canceled
        Me.mvEmployee.SetActiveView(Me.vwSearch)
        Me.SearchEmployee1.BindGV()
    End Sub

    Protected Sub AddEmployee1_Saved(ByVal sender As Object, ByVal e As System.EventArgs) Handles AddEmployee1.Saved
        Me.mvEmployee.SetActiveView(Me.vwSearch)
        Me.SearchEmployee1.BindGV()
    End Sub

    Protected Sub SearchEmployee1_Editing(ByVal source As Object, ByVal e As System.EventArgs) Handles SearchEmployee1.Editing
        Me.mvEmployee.SetActiveView(Me.vwAdd)
        Me.AddEmployee1.ShowEdit(Me.SearchEmployee1.EmployeeID)
    End Sub

    Protected Sub SearchEmployee1_Loaded(ByVal sender As Object, ByVal e As System.EventArgs) Handles SearchEmployee1.Loaded
        Me.mvEmployee.SetActiveView(Me.vwSearch)
        Me.SearchEmployee1.BindGV()
    End Sub

    Protected Sub lknAdd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lknAdd.Click
        Me.mvEmployee.SetActiveView(Me.vwAdd)
        Me.AddEmployee1.Show()
    End Sub

End Class

